package com.erp.Struts.common;

public class Constants {
	// session username
	public final static String USERNAME_KEY = "username";
	// session role
	public final static String ROLE_KEY = "role";

	// struts mapping
	public final static String SUCCESS_KEY = "success";
	public final static String FAILURE_KEY = "failure";
	public final static String LOGOUT_KEY = "logout";

	public final static String INDEX_KEY = "index";
	public final static String LIST_KEY = "list";
	public final static String ADD_KEY = "add";
	public final static String EDIT_KEY = "edit";
	
	// pager default parameters
	public final static int pageSize = 10;
	public final static int pageNo =1;
	
	// pager session
	public final static String PAGER_PRICAM = "pager_pricam";
	public final static String PAGER_SMS = "pager_sms";
	public final static String PAGER_NOTICE = "pager_notice";
	public final static String PAGER_PUBCAM = "pager_pubcam";
	public final static String PAGER_USER = "pager_user";

}
